//时间-转.
function changeCirle(str){
    return str.replace(/-/g,'.')
}
//克隆对象
function clone(obj){
    var o 
    if(typeof obj === 'object'){
        if(obj == null){
            o = null
        }else if(obj instanceof Array){
            o = [];
            for(var i = 0;i < obj.length;i++){
                o.push(clone(obj[i]))
            }
        }else{
            o ={}
            for(var k in obj){
                o[k] = clone(obj[k])
            }
        }
    }else{
        o = obj
    }
    return o
}